package com.fd.confing;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @program: MySpringBootDome
 * @description:
 * @author: Teacher.zhang
 * @create: 2022-03-03 09:17
 **/
@Configuration
/*@ConditionalOnClass({ JedisConnection.class,RdisOperations.clss, RedisProperties.Jedis.class})*/
//指定必须存在相关类的情况下才会自动配置redis，因为不存在这些文件就说明你没有引用redis，也就没必要配置了
@EnableConfigurationProperties(RedisProperties.class)
public class RedisSAutoConfiguration {

}